// 设备分组分类
export interface DeviceSortType {
    groupId?: string; 
    groupName?: string;
}
// 设备列表
export interface deviceListType {
  equipmentId: number;
  equipmentNo: string;
  equipmentName: string;
  categoryName: string;
  workType: string;
  installLocation: string;
  workStatus: number;
  networkStatus: boolean;
  warnStatus: boolean;
  warnMsg: string;
  lastReportTime: string;
  bucket1DrugRemainRatio: number;
  lockStatus:boolean;
  cleanTime:string;
  waterPressure:string;
  coolStatus: boolean;
  lat: number;
  lng:number;
    resultList?: Array<{
      type: number;
      bucket1DrugRemainRatio: number;
    }>;
    isSelected?: number; // 可选字段，用于表示是否选中
    isOffline?: boolean; // 可选字段，用于表示是否离线
}
// 设备开始工作参数
export interface devicestartworkType{
  equipmentId: number;
  sprayModel: number;
  workMinute?: number;
  workSecond?:number
}
// 添加设备
export interface addDeviceType {
  equipmentId: string;
  installLocation: string;
  equipmentName: string;
  equipmentNo?:string;
  categoryName?:string;
  groupName?:string;
  groupId:string
}